import Vue from 'vue';
import App from './App';
import router from './router';
import http from './http';
import VueBus from 'vue-bus';
 
Vue.use(VueBus);
var ElementUI = window.ELEMENT;
console.log(ElementUI);

if (process.env.NODE_ENV !== 'production') {
  // require('@/mock');
  Vue.config.productionTip = false;
}

Vue.prototype.$http = http;
Vue.use(ElementUI);

new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
});
